package com.byteshake.common.navigator.window

import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.navigation.fragment.NavHostFragment
import com.win.lib_base.window.WindowFrameLayout

/**
 * Create by lsm on 2020/6/2
 */
class WindowNavHostFragment : NavHostFragment() {

    private val TAG = "WindowNavHostFragment"

    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
        Log.e(TAG, "onCreateView: ")
        val frameLayout = WindowFrameLayout(inflater.context)
        frameLayout.id = id
        return frameLayout
    }

}